res = map(lambda x:x**2,[1,5,7,4,8])
print(res,list(res))
for i in res:
    print(i)



def lis(num):
    res = num ** 2
    return res
for i in [1,5,7,4,8]:
    print(lis(i))

s = [x**2 for x in  [1,5,7,4,8]
print(s)